package com.mmw.crm.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mmw.crm.entity.Contract;
import com.mmw.crm.mapper.ContractMapper;
import com.mmw.crm.service.ContractService;
import org.springframework.stereotype.Service;

@Service
public class ContractServiceImpl extends ServiceImpl<ContractMapper, Contract> implements ContractService {
    @Override
    public String QueryExaminStep() {
        return "{\n" +
                "    \"code\": 0,\n" +
                "    \"data\": {\n" +
                "        \"createUserId\": 3,\n" +
                "        \"updateTime\": \"2019-05-11 16:27:44\",\n" +
                "        \"createTime\": \"2019-05-11 16:27:11\",\n" +
                "        \"updateUserId\": 3,\n" +
                "        \"userIds\": null,\n" +
                "        \"deptIds\": null,\n" +
                "        \"examineId\": 2,\n" +
                "        \"name\": \"合同审批流程\",\n" +
                "        \"categoryType\": 1,\n" +
                "        \"examineType\": 2,\n" +
                "        \"remarks\": \"说明\",\n" +
                "        \"status\": 1\n" +
                "    }\n" +
                "}";
    }

    @Override
    public String userQueryUserList(Integer pageType) {
        return "{\n" +
                "    \"code\": 0,\n" +
                "    \"data\": [\n" +
                "        {\n" +
                "            \"deptName\": \"办公室\",\n" +
                "            \"img\": \"\",\n" +
                "            \"createTime\": \"2019-02-13 15:43:26\",\n" +
                "            \"roleId\": \"1\",\n" +
                "            \"sex\": null,\n" +
                "            \"mobile\": \"12312341234\",\n" +
                "            \"realname\": \"admin\",\n" +
                "            \"parentName\": null,\n" +
                "            \"post\": \"1\",\n" +
                "            \"userId\": 3,\n" +
                "            \"parentId\": 0,\n" +
                "            \"roleName\": \"超级管理员\",\n" +
                "            \"deptId\": 1,\n" +
                "            \"email\": null,\n" +
                "            \"username\": \"admin\",\n" +
                "            \"status\": 1\n" +
                "        }\n" +
                "    ]\n" +
                "}";
    }
}
